//
//  RCDPickerView.h
//  jsy
//
//  Created by  任辰东 on 2020/4/13.
//  Copyright © 2020 JSY. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface RCDPickerView : UIControl

@property (nonatomic, copy) void (^didSeclectedItem) (NSInteger index, NSString *title);
@property (nonatomic, strong) NSArray *dataSourceArr;
@property (nonatomic, copy) NSString *unit;

- (instancetype)initWithDataSourceArr:(NSArray *)dataSourceArr seletedRow:(NSInteger)index andtitle:(NSString *__nullable)title;
- (void)show;

@end

NS_ASSUME_NONNULL_END
